package cn.hn3l.agriculture.dao.mapper.file;

import cn.hn3l.agriculture.entitis.pictures.Picture;

/**
 * @Author Wang Weiwei
 * @Since 16-10-21
 * @Describe
 */
public interface PictureMapper {
    int save(Picture picture);

    Picture findStreamById(int i);

    int getNowId();

    int findIdBySrc(String src);

    /**存贮商品相关图片信息
     * @param id 商品id
     * @param idBySrc 图片id
     * @param i 是否是主要图片*/
    void saveRGoodsToPicture(int[] param);
}
